<template>
    <tab-bar>
      <tab-bar-item path="/home" acticeColor="rgb(217, 90, 126)">
        <img slot="img1" src="@/assets/img/tabbar/home.png" alt="">
        <img slot="img2" src="@/assets/img/tabbar/home-o.png" alt="">
        <div slot="text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/category" acticeColor="rgb(217, 90, 126)">
       <img slot="img1" src="@/assets/img/tabbar/category.png" alt="">
       <img slot="img2" src="@/assets/img/tabbar/category-o.png" alt=""> 
         <div slot="text">分类</div>
      </tab-bar-item>
      <tab-bar-item path="/cart" acticeColor="rgb(217, 90, 126)">
       <img slot="img1" src="@/assets/img/tabbar/cart.png" alt="">
       <img slot="img2" src="@/assets/img/tabbar/cart-o.png" alt="">
         <div slot="text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path="/user" acticeColor="rgb(217, 90, 126)">
       <img slot="img1" src="@/assets/img/tabbar/my.png" alt="">
       <img slot="img2" src="@/assets/img/tabbar/my-o.png" alt="">
         <div slot="text">我的</div>
      </tab-bar-item>
    </tab-bar>
</template>

<script>
import TabBar from '@/components/common/tabbar/TabBar'
import TabBarItem from '@/components/common/tabbar/TabBarItem'
export default {
  name: 'MainTabBar',
  components:{
    TabBar,
    TabBarItem
  }
}
</script>

<style scoped>

</style>>

